Feature: Actualizar POST

Scenarios

Chart

Status

Progress

1

Passed

100.00%

Failed

0.00%
Total duration:
1m 36.458s

Scenario: Como un usuario inicio sesión y edito un post con un imagen y texto

Before 0m 1.067s
Given I navigate to page "http://localhost:2368/ghost/#/signin" 0m 0.682s
And I wait for 1 seconds 0m 1.118s
And I set text "<USERNAME>" on element with xpath "<USERNAME_EID>" 0m 0.171s
And I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>" 0m 0.143s
And I wait for 1 seconds 0m 1.125s
Then I click element with xpath "<BTN_SIGNIN_EID>" 0m 0.179s
And I wait for 1 seconds 0m 1.184s
Given I navigate to page "http://localhost:2368/ghost/#/editor/post" 0m 0.192s
And I wait for 1 seconds 0m 1.107s
And I set text "POST con Imágen para ACTUALIZAR" on element with xpath "<POST_TITLE_ECLASS>" 0m 0.186s
And I wait for 1 seconds 0m 1.117s
And I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>" 0m 0.250s
And I wait for 5 seconds 0m 5.094s
Then I navigate to page "http://localhost:2368/ghost/#/posts" 0m 0.122s
And I click element with xpath "<POST_ONLIST_CLASS>" 0m 0.371s
And I wait for 1 seconds 0m 1.218s
Then I click element with xpath "<CONTENT_ECLASS>" 0m 0.263s
And Enter on element with xpath "<CONTENT_ECLASS>" 0m 0.240s
And I set text "Hey post has sido actualizado" on element with xpath "<CONTENT_ECLASS>" 0m 0.344s
And Enter on element with xpath "<CONTENT_ECLASS>" 0m 0.249s
And I wait for 1 seconds 0m 1.255s
Then I click element with xpath "<PLUS_ADD_ECLASS>" 0m 0.403s
And I wait for 2 seconds 0m 2.261s
Then I click element with xpath "<UNSPLASH_XPATH>" 0m 0.262s
And I wait for 3 seconds 0m 3.392s
And I click element with xpath "<INSERT_IMAGE_ECLASS>" 0m 0.323s
And I wait for 3 seconds 0m 3.252s
And I set text "POST ACTUALIZADO" on element with xpath "<POST_TITLE_ECLASS>" 0m 0.364s
And I wait for 1 seconds 0m 1.238s
Then I click element with xpath "<CONTENT_ECLASS>" 0m 0.278s
And Enter on element with xpath "<CONTENT_ECLASS>" 0m 0.233s
And I wait for 1 seconds 0m 1.232s
Then I click element with xpath "<POST_TITLE_ECLASS>" 0m 0.295s
And I wait for 5 seconds 0m 5.242s
After 0m 0.006s

Screenshots

Before
NO IMAGE AVAILABLE
Given I navigate to page "http://localhost:2368/ghost/#/signin"
And I wait for 1 seconds
And I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
And I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
And I wait for 1 seconds
Then I click element with xpath "<BTN_SIGNIN_EID>"
And I wait for 1 seconds
Given I navigate to page "http://localhost:2368/ghost/#/editor/post"
And I wait for 1 seconds
And I set text "POST con Imágen para ACTUALIZAR" on element with xpath "<POST_TITLE_ECLASS>"
And I wait for 1 seconds
And I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
And I wait for 5 seconds
Then I navigate to page "http://localhost:2368/ghost/#/posts"
And I click element with xpath "<POST_ONLIST_CLASS>"
And I wait for 1 seconds
Then I click element with xpath "<CONTENT_ECLASS>"
And Enter on element with xpath "<CONTENT_ECLASS>"
And I set text "Hey post has sido actualizado" on element with xpath "<CONTENT_ECLASS>"
And Enter on element with xpath "<CONTENT_ECLASS>"
And I wait for 1 seconds
Then I click element with xpath "<PLUS_ADD_ECLASS>"
And I wait for 2 seconds
Then I click element with xpath "<UNSPLASH_XPATH>"
And I wait for 3 seconds
And I click element with xpath "<INSERT_IMAGE_ECLASS>"
And I wait for 3 seconds
And I set text "POST ACTUALIZADO" on element with xpath "<POST_TITLE_ECLASS>"
And I wait for 1 seconds
Then I click element with xpath "<CONTENT_ECLASS>"
And Enter on element with xpath "<CONTENT_ECLASS>"
And I wait for 1 seconds
Then I click element with xpath "<POST_TITLE_ECLASS>"
And I wait for 5 seconds
After
NO IMAGE AVAILABLE